// const stuDataForm = ref({
//   cognizanceVO: { national: 0, provincial: 0, school: 0 },
//   paperVO: {
//     software: 0,
//     patent: 0,
//     paper: 0,
//   },
//   leaveVO: { leaving: 0, overnightStay: 0, verifiedReturn: 0 },
// });定义一个包含这些数据的仓库
//组件数据仓库
import { defineStore } from 'pinia'

export const useStuDataStore = defineStore('stuData', {
  state: () => {
    return {
      stuDataForm: {
        cognizanceVO: { national: 0, provincial: 0, school: 0 },
        paperVO: { software: 0, patent: 0, paper: 0 },
        leaveVO: { leaving: 0, overnightStay: 0, verifiedReturn: 0 },
      }
    }
  }
})
